// tabbar
mixin Item(itemNm)
	- var itemNm = itemNm || '';
	.search-items-wrap
		ul.rst-group
			li.u-fx
				.avatar
					img(src="/src/imgs/img1.jpg")
					if itemNm == 'video'
						i.iconfont.icon-play
				.desc.u-fx-col.vj.u-f1
					p.title 景点标题吧啦吧啦吧
					span.tips 芬兰 普拉达
		p.divider.u-tc: a.addmore 点击加载更多
-
	var navBars = [
		{nm: '景点', key: 'point', isCur: true},
		{nm: '视频', key: 'video'},
		{nm: '体验', key: 'enjoy'}
	];
section.com-tab.com-line-tab#j_search_rst
	nav.com-tab-bar.u-fx
		each item in navBars
			a(href="javascript:void(0);", data-key="#{item.key}")&attributes({class: item.isCur ? 'is-cur': ''}) #{item.nm}
	.com-tab-container.swiper-container
		section.com-tab-content.swiper-wrapper
			each item in navBars
				.com-tab-wrap.swiper-slide(data-target="#{item.key}")&attributes({class: item.isCur ? 'is-cur': ''})
					.com-card
						+Item(item.key)
// tabbar end
